adds test for general registers