Added tests.
Merge branch 'topic/curveprovider' of github.com:/OpenGamma/OG-Platform into topic/curveprovider