add optional dependencies
update testsuite