Fix tests for branch ui-1-12

This fixes tests.
- Some are removed because they're invalid, or because we're using unmodified UI widgets so we can assume UI tests them
- Some are fixed by modifying the assumptions the library makes
- Some are fixed by modifying the assumptions the test makes