anchor.diff:                      meck:expect(vcn_utils, time, fun() -> Tim end),
                       meck:expect(fslogic_meta, update_meta_attr, fun(File, times, {Tim2, Tim2, Tim2}) -> File end),
   
  -                    ?assertEqual({"existing_user", SynchronizedUser}, user_logic:sign_in(ExistingUserInfoProplist, AccessToken)),
  +                    ?assertEqual({"existing_user", SynchronizedUser}, user_logic:sign_in(ExistingUserInfoProplist, AccessToken, RefreshToken, ExpirationTime)),
                       ?assert(meck:validate(dao_lib))
                   end}
           ]}.
  
positive.code:                     Tim = 12345677,
                      meck:expect(vcn_utils, time, fun() -> Tim end),
                      meck:expect(fslogic_meta, update_meta_attr, fun(File, times, {Tim2, Tim2, Tim2}) -> File end),
                      ?assertEqual({"new_user", NewUserRecord}, user_logic:sign_in(NewUserInfoProplist, AccessToken)),
                      ?assert(meck:validate(dao_lib))
                  end},
  
              {"existing user -> synchronize + update functions",
                  fun() ->
                      AccessToken = <<"test_token">>,
  
                      % Existing record in database
                      ExistingUser = #veil_document{record = #user{
  
negative.code:         [
              {"new user -> create_user",
                  fun() ->
                      AccessToken = RefreshToken = <<"test_token">>,
                      ExpirationTime = 1234,
  
                      % Possible info gathered from OpenID provider
                      NewUserInfoProplist =
  