do test function and view function