Prevent computations in float16 in scalar and elemwise

Also add a bunch of tests
This make that the tests aren't run by default. uncomment line 205 and remove line 206.