Added unit tests for sq_inmeta