fixed getting .test property exits casper in non-test env