slimmed down casting tests