Uni testing of ATM class