TSPHP-752 cast assign, wrong precedence - fixed failing tests