[PATCH 5/5] tests: Add tests for parsing lockspace and resource names