Changed the tests to HSpec and fixed the parser to accept empty blocks