createServer updates

Update readme and add tests