test: Remove extraneous cast from types test 9.