make the getByClass tests pass