added jasmine test for reducing over empty message(s)