removed the testing code

The code is not generic. It is fairly easy to write a new one.