add tests for using raw config