Convert test cases to use namespace.

Signed-off-by: crynobone <crynobone@gmail.com>