Fix js test for statusMessage