Fixed tests. Added integration runner.