Test templates added
Fixed bugs in oauth and password checks
OAuth testing ready
Hostname is now configurable
Merge pull request #7 from theikkila/tests

Tests