setting up unit test for candidates keywords