Unit test created for getAccount