cleanup
page for displaying a check and all its metrics
fixed NPE
fix tests and cleanup/refactor