removed deprecated test code