Added tests for boolean and nil.