Fixed rockspec.
Implemented reset method for spy functions.