move tests from core-tests