Added testsuite and tests to build