Add jshint expr=true rule for tests
Add post-replace script