Scaffold test alongside resource.

From issue #63
Ignore tests in component.json and index.js