[major, test] working tests, need better sandboxing