added improved testing of local docs