Rewrite tests to not use plugin.configure
Relates to issues from https://github.com/openannotation/annotator/issues/408