change conflictClasses type, add test

https://travis-ci.org/xuwei-k/sbt-conflict-classes/builds/31390027