Overhauled to meet latest coding standards changes.
Updated test to reflect changes in model and switched back to for loop because it's easier to understand and faster in this context.
Removed unused tests, created simple test for home view and extended bootstrapping for PHPUnit.