move assignment regression tests from main file to own file