testcase + bugfix
Merge pull request #185 from Catrobat/Issue#184

Fixed Issue #184