Fix assertion in tests

Now the tests are test nothing, because it just checks that first argument is not empty.
`assert.equal` should be used here