Fix parseBoolean method
Remove tests