Simplified bats tests, add running test
Added expose API command