Add tests for role searches and support for .rb role files

I'm open to suggestions on how to do the .rb role files better, assuming the filenames are the same as the rolenames isn't necessarily correct.