Implemented recent categories method using TDD methodology