fixed tests
fix up for publish
fixed bug in regions