Add time demo to newlib test