Now custom SpringApplication class can be used when extending SpringApplicationContextLoader