radically improved test and added java.lang.Number gets. still have some problems with the tests to iron out