fix tests now that ampm is a property