refactor testCanStore method down

Change-Id: I43f9b693d314ee63d2130da50053cfe80ffa2dbc
Merge "refactor testCanStore method down"