Bug fixes for clone
Forgot to commit test for clone