Adds tests for changes made to parseResource in last commit.