Update to castest4