changed deprecated functions 'contains' and '@test_fails'