added test files to start with karma
fixed issue with header include and other changes for testing