tests and code cleaning

additional py2.6 fixes, issue #6
change relative paths to absolute #7
remove uneeded function
more tests