added rspec cases to framework spec and added logging for minify error