Removed dead test code