[RFC] Migrate legacy tests

This is just the start. More commits are coming!