Fix layer_spec.rb user cleanup code (#244)