Basic tests

Including basic tests described on my comment in #5.
Once #8 will be in, we should improve a bit PlugBasicTest