Adding refresh interval set check

see #252
Adding more jasmine tests