Reinstate expect calls in Text layer tests
Some of the `expect` calls in `layers/__tests__/Test.test.js` have been commented out, since they seemed to be failing intermittently. Look into it and reinstate if possible.