sets the agavi app dir for the testing env, refs #380