add mockito and some interaction based tests