Abstract spring based tests and web tests