resource test for more complex route