Correcting require call
Adding tests