Remove test code

Some test/debug code was left in by accident