Removes some test code