Resolve TMSS-2583
Closes TMSS-2583
Every commit is a clear step.
- I added a unit test that failed
- fixed the implementation (+formatting)
- used that implementation regarding the bug.
One extra addition is better information in the test cases in SUcreate that is unrelated to this ticket (but upon request and before I forget)