testing rest communication