Pluggable test discovery

Closes #106