Changed using declarations to typedefs in tests

g++ 4.6 doesn't have support for using in class scope.