Add challenge period tests
Add period for challenge factory