Added unit test, added ci config