Changed tests for magic_string