downgrate do java1.7 oraz dodane testy