fix bad if condition
fix integration tests

and add an error message for fs models without outgroup