Added categories attribute to product and refactored tests
Added products attribute to category entity and refactored tests