added fixture and test module tests for pg backend
added travis testing for pg backend