In order to have a test display in the middle of a course, you need to make multiple modules. Tests are taken at the end of a module, so you can create modules in order to have students take the tests exactly when you want them to occur.
See How do I create a new module more information.
See How are courses structured? for more information about structuring courses in Claro..