Removed test code

Some testing code removed from end of file