Separating test code from library code