fix class tests and link them into all. 352 tests