removal of extraneous test code