add test dependencies
add integration test
use run_locally instead of exec
add some specs