Unit tests work now

Should function with the addition of this line