Test the spring profile functionality