added constructor with increment and return value methods as well as a c...

...hai test
You should probably have semicolons at the end of the it blocks.