This is just to test that the function exists and returns some kind of valid value. Although this file is for testing ms/us functions, put the ticks_cpu() test here so not to add a new test file.
Simple smoke tests, mostly for coverage. Added to extmod based on the fact that they're extensions to standard modules.