fixing broken github url, added tests