fix(tests): update legal and tos tests to work under slow conditions
Merge pull request #1202 from vladikoff/tos-legal-test

[wip] fix(tests): update legal and tos tests to work under slow conditions