Allow for namespaced and versioned class names in tests

- fallsback to bare class names if it fails

Fixes #40