added tests to issue invoice feature spec