[Framework] added more unit tests.