Refactoring

- move waiting time to `tearDown` in XCTest
- set completionBlock with block's copy