Refactor Classification seeding and add tests

https://bugzilla.redhat.com/show_bug.cgi?id=1157942