Added a unit-test for the wrong method parameter