Closes #2. Tests should now pass. Added tested for RESTful one-to-many.