Fixing functional tests i.e. inserting vendor id into users table from vendors table and rectified testseed data