added assertions for checking falsey and truthy values