BUG/TST: fixed kwargs in test