account: add tests for DefaultAccount

* Fix NPE in constructor for null BCD
* Fix default value for migrated field

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>