CORE-4446: refactored the core-test test suite to make defining tests easier