Minor modification in name of function filter, and adding test capability in pclagent.cpp file