Tests and a little doc