Add test case

Ensure that attribute kws are removed from the kw before passed to the original
initializer.
Spelling