Added defvendor-test and some tests.