removed unused unit testing code