Added test to check if conversion between BOOL and NSNumber (and the other way round) works propertly.