Add offical test files and refactor function names.