Add tests for bad attachment requests