add some tests using jaxrs-async mode and clean up

Change-Id: I2878a14e929a0cbe8bd6aa505e68f4363ee71e62