[enh] Changed test to use kwargs **