PM-740 junit test for pegasus namepsace class. also fixed incorrect comparisions in the Pegasus namepsace class.
Merge remote-tracking branch 'origin/master'