Added test cases and testconfig