tests implementation
add get category by id
test and src fix