add sample test class for byte[]