added test flag, starting test program