Add unit test for boolParam method