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
Merge branch 'master' into 1.0.x