RESTEASY-1077 Trailing slash

Add test for trailing slashes that fails for resteasy 4.0.0

Test fails when a trailing slash is present. 
Issue:
https://issues.jboss.org/browse/RESTEASY-1077