add helper methods; update tests
add simple query method, update crud test