Fix categories empty method

+test

Change-Id: I16f19dde713709b0cf8631cb1bf0ceee6ca438a7