Modified tests to test also generated source maps. Fixed bugs #50