Added explicit cast test