Adding tests for types