added proper unit tests for the pull types