Memory calculation tests

[#56495606]
Add $PWD to memcalc's path

[#56495606]
Ensure start fails when $MEMORY_LIMIT is too small

[#56495606]