Added test for creating uniform from typed arrays