Added code coverage; moved tests to unit folder