Tests about serializing int and long