Fix minor unit-test bugs.

1. Incorrect context destroy
2. Incorrect test specification

Build successfull