added test for uniqueness of name in category spec
created categories index and spec