Move code/test to test, first pass directory reorg

First commit is a straight rename. I expect some code loaders and test harness paths will need changing in a subsequent commit.