Init device
Create partitions
Create filesystem
Do tests...
...done.