the test now works, but there's atleast a bug in loading the texture