Added option to compile test suite (enabled by default).