handle path separators with os.sep and add tests

Added more tests to the notebook manager to check for the correct
path separators on different operating system. Fixed the get_path
method.