Refactor existing tests. Brainstorming about testing render