unittests v1 and config changes

added host and port to config
added first set of initial tests