Better test coverage, remove meta information when writing the notices