add timeouts to application tests

close #441