switched os array for consistency to browser array; improved tests