simplify the constructor calls
additional test cases for getBoolean