added small test for simple case