view and tests