Moved dummy tests.
Added tests for gen_stub script.