removed unnecessary test code