Started dev work on the default attachment functionality and fixed bugs in the test suite.