Changed postContextUpdates and getContextUpdates to static. Now the
testing finally worked.