fixed lsat bug in unittests