assumptions modifications for imaginary bases

edit assumptions

add duplicate test to code quality checking