Added error for using calledWith before spy was called