Fix a bug #project_last_status_text blows up when payload status is nil

Also wrote some specs around the method so it should be good.