use stricter typing in unit tests