Update test (updated  invalid (Object) casts)