Add test for adding binary files
Call optional success/error handlers with 'this' context in toPromise
Re-build test files on save