Added nil assertion test on bad cast for dot method