Remove pointless and broken test code