fix up runloop
fix test to include better message