#231 adding and adapting unit test to demonstrate problem is solved

The problem was already solved by means of #237 (it is in essence the same problem). Though, to demonstrate its really fixed, I added some unit test.
No big issue, but there should be no whitespaces here (only around the arguments for method invocations). Not sure whether you can set it up in NetBeans (I think that's what you're using), the IntelliJ style I use has this set. I'd like to make it part of CheckStyle, but didn't come to it yet.