Added spec test + fix puppet lint error