Modified to quit app after 5 secs of test finished.