Added ToBool case for string, and added ToBool test cases