js test - vary number of records