show pass/fail as data attributes

fixes #4