* Fix for RESTEASY-1116
* Post unit test added
* Removed unused imports
Merge pull request #592 from hypnopadge/RESTEASY-1116

Fix for RESTEASY-1116