Remove uneeded namespace registration for class loader.

With composer loader now being used for tests too the extra loader
registrations are not required.