build image in test run