Initial get unit tests passing

Fixes 6 tests that were failing for me. Does make one code change of possible significance - the package equals operator definition was buggy by common expectations, and fixing it may possibly break something elsewhere. I haven't got the actual site working yet, but hopefully this is a step in the right direction.