Added unit testing for state and debugged state