internal/charmstore: added store_test.go