More move to lua from YAML, with actual unit tests!