Testing spring securty