option to run test when build