Test bug with ajax call on a resource route gives error on orchestral/platform#32

Signed-off-by: crynobone <crynobone@gmail.com>