Ported more tests.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>