fixed message bug
fixed invalid Provider tests
fixes #23