Modified test to new variable dtype property