BZ874187: Added test case

Added test case for NPE during evaluation of accumulate when run as fireUntilHalt() as described in https://bugzilla.redhat.com/show_bug.cgi?id=874187