Add test: set map if SID is invalid.
Add beforeEach function (set time out before each test).