make formatter writable so i can set specific formatter

Make formatter writable.

Update spec and change mock => double and stub! => stub to remove deprecation warnings