Better test if spring exists