Added method to get Category by name. Added tests.