fix tests: kwargs instead of positional args