Fix broken tests due to invalid castToBoolean on Strings (turns out 'false' == true because it's a non-empty string *sigh*)