removing redudnant test code