Tests now pass for ORM

Tests for the ORM now pass, the Select tests fail.