Added tests for custom Agent types when using the simple schema.
Changing id type to long.