ignore tern.js files
add tests for `element_spacing()`
update dist files
update readme for running tests