Moved each approach into its own method for easier perf analysis.
Removed public visibility from test method.