removed some reduntant test code