RESTEASY-1077 Trailing slash

Add test for trailing slashes that fails for resteasy

Test fails when a trailing slash is present. 
Issue:
https://issues.jboss.org/browse/RESTEASY-1077
Works both with or without the trailing slash