Add button tests.
Ignore main stuff in coverage.