add unit tests proving that failFast flag works as expected