created and completed tests for other scenarios.