Added a test case for the procedure.