Add spec for Adapter and Config.
Remove unnecessary Test adapter.
Move all requires into the main module file.
Add spec for Robot. Add error classes. Minor refactoring.
Add partial coverage for Handler.