Removing dead test code