remove obsolete test code