Refactor planetarium tests