Adds interface cast test