[test] update test case for building native modules(node-dtrace-provider, ref, node-lame)
[test] simplify test case for native modules using 'typeof'.
Merge pull request #1398 from kingFighter/tests

[test] update test case for building native modules(node-dtrace-provider...