feat(test): make tests building optional

With cmake . -DBUILD_TESTING=off