added test cases, a few extra conversion methods