Made casting test into a proper test
Made casting test into a proper test

cellml/libcellml,nickerso/libcellml,hsorby/libcellml,cellml/libcellml,nickerso/libcellml,nickerso/libcellml,hsorby/libcellml,cellml/libcellml,hsorby/libcellml,hsorby/libcellml,nickerso/libcellml,cellml/libcellml