broke out test code.

test code is now one single function per file.