chore(base): move tests into source folder

By placing tests next to their subjects we make the paths between test
and source much smaller. This also makes it easier to move code around
since the tests will come too.
chore(jsdoc): move tests into source folder

By placing tests next to their subjects we make the paths between test
and source much smaller. This also makes it easier to move code around
since the tests will come too.