Added genetic test code