Adding unit/acceptance tests.