Removing spring dependencies from compile scope (only used for testing).