add tests except for main