Fix brands and categories tests