removing debugging statements
Adding tests