Add first tests and make public