Basic tests for str and Num types