add basic test from gist