Add tests for dynamic attributes with arguments