increased version number to 0.4 (dev)
fixed a test