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.
this assertion is kind of meaningless since the item was defined just above