Separate tests into functions in main.cpp
Add test to verify single copy per mutation chain