Add test case for basic commit functionality.