Rewrote Jasmine tests for slider range to reuse function. More compact and concise.