Removed or fixed 'risky' tests

Wherever possible, missing assertions were added. Empty or useless tests were removed.