tests for viewport edit view and model