Added float type checks.
Added basic tests for array and object.