Checking if the makeEmpty() is called