Added unit test for pull requests