added simple test
Added acceptance tests and fixes env