Add some basic tests for double