adds test for several method on a rest resource