fixed little stuff and added tests
Merge remote-tracking branch 'origin/master'

Conflicts:
	src/grammars/Kosmos.g