Allow to change & reset memory limits
Allow to impose memory & time limits
Add test showing that time limits can be prolonged