buffer class set to public for unit tests
added unit tests for connector
added unit tests for connector