Move unit tests into unit subdirectory

This allows for the creation of a function subdirectory to contain
function tests.