Fixed mockito usage and Completed ConditionStack
Completed HttpHandlerStack
Improved tests