Added JUnit dependency for core tests.
We now check background-image function is the supported linear-gradient rather than blindly assume that it is.Added some unit tests for this. Fixes #15