added means of testing main standalone binary