Added JS unit tests for ext storage

Added JS unit tests for the external storage file list extension.

Please review @icewind1991 @schiesbn