some unit and functionnal tests