Use createTestStatus() in unit tests.

Fixes #39.