added errors tests
added dtypes tests