Added tests and ci.