Added junit and mockito as dependencies to gentests projects.