Add time limit to a test

Prevent run-away process if something goes wrong with the test