add T_EMPTY operator

Time: 397 ms, Memory: 25.00Mb
OK (422 tests, 428 assertions)

Change-Id: Ia7b92a449247e345924f5a364a85726cbeceb09f