Unit testing of ATM class