fixed to comply with latest changes in server2; added metadata to search
reverted url from test to real