Fix #2 : Add test framework for testing the commands