move sandbox setup and teartown to helper