Spring is only needed for tests