Add .gitignore to element tests

Change-Id: I2435098cf19afa1411fad4b018af3a0695d4a95e