Unit testing support