Fix top-level resource routing and add test case. Closes #37.
Bump version to 2.4.2