Move 3 porting sanity tests from t/lib/ to t/porting/, a more natural home.