nitdoc: Add tests with attributes.