added a few tests for updating kwargs