Add test case for a boolean with getBoolean.

We had a test for ->isBoolean, but now, getBoolean is supported too.