fix tests for incorrect number of getId calls