Add all code from tests.