Added tests and CI