created junit test for players