moved test file to junit test