Add failing  test for expose option
Fix expose option from require