Added category model with tests.