add basic plotting code for test
TestLoop
TEST
TESTLOOP