[2989]Make dependencies for test to core.application optional