Updates test to include optional failure message