add basic tests

@timebug