add basic tests
cabalised