Add boolean parameter to run test after build