updated casts module tests