spring rest service & tests