add a test for nil keywords NPE fix