Refacting separation unit tests and adding regression tets for #48