added tests for expose option