added test for NPE during KieSession serialization

Added reproducer for https://bugzilla.redhat.com/show_bug.cgi?id=1000055.