Added more unit tests for genes.