Adds rest service test and gradle test support