Initial test.
Moved repetative tests out of for loop.