updated test cases to cover usage scenarios; added new test class to support generating sample config