Fixed type specification in tests