Switch tests from BDD to TDD style
Allow function.repeat() to omit args if none are needed.