generate category lists / unit test