moved unit tests to own files