fixed testsuite and embedded library tools