Removed superfluous test code