added printError to chain
small test reformating
addedd string package
splitted  tests
moving tests
upgrading chai-as-promised