Fixed Store tests.
New tests for Store.
New tests for PreemptiveResource.