Move parameter checks from adapter to store

Moved checks to avoid double-checking the same parameter,
first in the store and then in the adapter again.

Adapt according test cases. Moved test cases and deleted
obsolete ones.