added a test to check the api level for the getSerial() method