typed-records for tests working