fix($test): Wrong resource checked in unit test

test_method_not_allowed_with_param was asserting
that a different resource was not being called, which
of course is a correct assumption! This commit fixes
that and checks that the correct resource is being called