I just pushed a new patch that returns PsIsSystemThread(KeGetCurrentThread()) and adds a test. I don't know how to test this further, and I'm not sure that more work is necessary right now, since it's not clear that the application in question would need anything more complex. That said, I'm open to suggestions.