Implemented shared examples andmacros in tests and implemented feature spec's