Added mocking for const qualified methods

Pull request for issue 
#9