added some tests and a runner