Added unit/acceptance tests and corresponding outputs.