Remove not needed test code