api: expect() with validators