Refactor test indentation