Make test for TESTNG-387 work
Merge pull request #571 from VladRassokhin/testng-387

Make test for TESTNG-387 work