selftests/ftrace: Add snapshot and tracing_on test case