Optical time domain reflectometer with advanced features