Unit test for setting account default