First working version
updated test
Set up initial version of table detail compairison - not working yet