chip tests and example of usage