added pretest step to build app.