uses plug to create models "from conn"
adds missing type assertion
cleans up test helpers