basic test copied from
https://tyrus.java.net/documentation/1.2.1/user-guide.html#d0e78

Change-Id: Ib262307779e410de5bdfa97222bfb0df35bfe54f