Passing $ inside test