Fixed array iteration errors discovered through testing
Created main test suite for all Junit tests