removed boilerplate from tests, added parentId key to category db model for data tree