removed superflous test code