Added the testflags flag

Fixes #166