Adding a unit test that calls all core Javascript files so that coverage

Adding a unit test that calls all core Javascript files so that istanbul reports actual coverage stats. Currently only considering ./red directory. Can easily be expanded to work with wider codebase larer.