fixed tests for spring profiles