remove test files and update gitignore
(cherry picked from commit 8660186cf988de3978cd94abac7c92a127e34911)