Added test for valid completion