Added unit test for reject