removed unused test code