Improve runtests, add bookstore example