new amber db version and now use AmberDb constructor correctly
more tests and