added testing to cover with/without status message