Updated gitignore and manifest.

Change-Id: Ifcac1c9177865da9d248769961ec17fa8f44e67a
Clean up test environment and remove unused imports.

First round of adding more complete unit test coverage.

Change-Id: Ic1979c499ca6fcb784892a95954a3527539c4e53