Added tests for resolve modules