unit test architecture