Worked on lots of things

-- Edited my test cases.
-- Added initReply to ObjectFactory