added basic test, set up __init__ for direct import