test($resource): enhance test-case to verify correct behaviour

Previously, the test-case verified that calling `toJson()`, would remove the `$promise` and `$resolved`, but not that other `$`-prefixed properties would not be removed.
same here, it's really just the `json` assertion that matters --- otherwise looks good