adding a test to views