Moved relevant tests to core.test. Created need mock classes for testing the core (because of abstract classes).