Added test for isEmpty method of Queue.