FIX: endless loop due to compiler optimization
Merge pull request #324 from reneme/fix_unittest

FIX: Endless Loop due to Compiler Optimization