Refactor robot tests to one template