Fixed singleton getInstance
Added JUnit asserts and fail snippets
Merge pull request #391 from 0hansen/master

Added asserts for JUnit tests