Add test for SP amount branch of flow