Added in a config table in cnofig.lua and setup a few test cases for it