Test sprite inheritance