Add optional and smoke tests.