Adds credentials class and interface
Updates phpunit version
Moves tests out of their own namespace