Fixed week interval issue with sqlite
Test for week interval bug
Test is now independent of current date