split test js files and added a spec reporter for tests