Start writing tests

First class for test access rights.
Connecting the test file

Connecting the test file to the module.
Hook execute fix for standard Drupal 7.

Replaced by a direct call function to the module_invoke ().
Body require.

Body require on page create node.
Merge pull request #19 from DrupalCodeReview/hook

Hook execute fix for standard Drupal 7.
Merge pull request #18 from DrupalCodeReview/body_fix

Body require.
Page that send notice.
Merge branch 'master' of https://github.com/itpatrol/notices into tests
First test

Test access to page modules.
Edit create notice and notice ID.

Notice ID see in database, name notice create random, else fields also
create random.
Testing main functions

Testing main functions of the module.
Test add notice.
Test view notice.
Test mark all notices as read, no ajax.
Test mark all notices as read, use ajax.
Test delete notice.
Test page with all user notices.
Create notice programmatically.
db_query() replace to db_select().
Init tests notices_node.