added acceptance tests and unit tests for tls2864