Fix attribute service test to return a single record