Added tests and continious integration