First testing environment implementation.

See scripts/cmake/test/README.md for details.
Time is just a shell function and FIND_PROGRAM has no REQUIRED arg.
Making time working on arch linux, too.