Refactor SnakObjectTest

Removes the strange inheritance and uses proper mocking instead.