move test foler to src folder
Moved test folder to src

Moved test folder to src folder. Through moving code around into
modules, may have broke the tests folder. Will need to fix this.