removing useless test
removing empty test class
removing dead code and cleaning some warnings