Functionnal tests

I don't see code for functionnal tests ?
Could you write it with @gpluchon help ?

Edited by dwatteau