Unit testing learning