create JUnit tests for Logic components