Add voglcore test code to vogltest app.