Added tests , TDD doc