Add support to in condition and more unit tests.