fix tests. add runall script for local testing