Fix flash write command tests.
Cleaner jump to application tests, clear naming of mock variables.