RR: added use of fixtures to database tests.
RR: moved model files to a model directory.
RR: shifted test files into tests directory.