Add StackTrace unit test