Test things

Add Jest tests to test a bunch of stuff