passing mocha tests for the boolean assignment