adding spring examples, to show how to test with spring