Ginkgo tests

Tests have been updated to use the Ginkgo testing framework.