Breakout tests into smaller functions.