fix junit tests to not depend on sequence