Added some test (api test and etc).