adding simple testcases for the most formatters; updating js