testing the example for rest communication from spring android