update test to check return of validate