added tests for reject.