integration tests; generics