test(*): add incomplete tests for the new rewrite