Update p90.py

Added a unit test to make sure the convert() method gives the correct output.