add simulation tests, fix realize_lcs bug
pep8 fixes in test_simulation