Added tests for the next command functionality.
Added tests for the set_config functionality.