Fix double support again - and update testserver to use doubles