add some tests with expect