You can clone with
Keeping test files synchronized across js and python isn't too hard but it is confusing and error prone. It would be better if we generated the formatting tests from the same file for both. This would high light points where the two scripts diverge.
A pattern I've seen work reasonably well (https://github.com/cloudhead/less.js/tree/master/test) is to create common input and expected output files, then consuming and diffing (respectively) in both language variants. It would also better facilitate writing acceptance tests for the HTML and CSS beautifiers.