tests for multiple types support