Fixed issues
Added test for config command