ensure tests run faster

we do this by fully-qualifying classes, defines and variables.
Merge pull request #648 from igalic/fully-qualified

Make tests run faster under Ruby 1.8