adding tests to viewer