[M2] Moving unit tests to core/src/test