Add test for DirectBytes lock/int variations