Adding some configuration for rspec
Adding long_time tag setting
Refine spec files
Refine library files