fixed definition token bug where method name was link to archive. Also fixed bug where some unit tests were being declared with } instead of )