Cleaned up many unit tests, fixed some ide configuration issues