automatically compile tutorial when running tests